﻿<%@ Page Language="C#" MasterPageFile="~/XxgkMasterPage.master" AutoEventWireup="true" CodeFile="ysqgk.aspx.cs" Inherits="bsdt" Title="南京市国土资源局六合分局-信息公开" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="js/Jquery.Global.js" type="text/javascript"></script>
    
    <script type="text/javascript">
        $(function () {
            GetNewIID();
        })

        function GetNewIID(a, b) {
            WebService("<%=ConfigurationManager.AppSettings["webcMaxiid"]%>/GetNewIID", GetMaxIidMaster, '{}');
        }

        function GetMaxIidMaster(result) {
            $("#IfameSq").attr("src", "<%=ConfigurationManager.AppSettings["webPageUrl"]%>?iid=" + result + "&readonly=false&UserId=-1&FormName=dae63b9e-6472-4550-8c9a-fdee6a287c0e&input_index=0")
        }

        function iFrameHeight() {

            var ifm = document.getElementById("IfameSq");

            var subWeb = document.frames ? document.frames["IfameSq"].document :ifm.contentDocument;

            if (ifm != null && subWeb != null) {

                ifm.height = subWeb.body.scrollHeight;

            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <iframe onload="iFrameHeight()" scrolling="no" name="IfameSq" id="IfameSq" marginheight="0" marginwidth="0" frameborder="0" style="width: 747px; background: url(images/index_15.jpg);"></iframe>

</asp:Content>

